# **********************************************************************
#
# Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************

# Ice version 3.3.0
# Generated from file `logger.ice'

import Ice, IcePy, __builtin__

# Start of module asterisk
_M_asterisk = Ice.openModule('asterisk')
__name__ = 'asterisk'

# Start of module asterisk.bridge
_M_asterisk.bridge = Ice.openModule('asterisk.bridge')
__name__ = 'asterisk.bridge'

if not _M_asterisk.bridge.__dict__.has_key('logger'):
    _M_asterisk.bridge.logger = Ice.createTempClass()
    class logger(Ice.Object):
        def __init__(self):
            if __builtin__.type(self) == _M_asterisk.bridge.logger:
                raise RuntimeError('asterisk.bridge.logger is an abstract class')

        def ice_ids(self, current=None):
            return ('::Ice::Object', '::asterisk::bridge::logger')

        def ice_id(self, current=None):
            return '::asterisk::bridge::logger'

        def ice_staticId():
            return '::asterisk::bridge::logger'
        ice_staticId = staticmethod(ice_staticId)

        #
        # Operation signatures.
        #
        # def prompt(self, level, file, line, function, message, current=None):

        def __str__(self):
            return IcePy.stringify(self, _M_asterisk.bridge._t_logger)

        __repr__ = __str__

    _M_asterisk.bridge.loggerPrx = Ice.createTempClass()
    class loggerPrx(Ice.ObjectPrx):

        def prompt(self, level, file, line, function, message, _ctx=None):
            return _M_asterisk.bridge.logger._op_prompt.invoke(self, ((level, file, line, function, message), _ctx))

        def checkedCast(proxy, facetOrCtx=None, _ctx=None):
            return _M_asterisk.bridge.loggerPrx.ice_checkedCast(proxy, '::asterisk::bridge::logger', facetOrCtx, _ctx)
        checkedCast = staticmethod(checkedCast)

        def uncheckedCast(proxy, facet=None):
            return _M_asterisk.bridge.loggerPrx.ice_uncheckedCast(proxy, facet)
        uncheckedCast = staticmethod(uncheckedCast)

    _M_asterisk.bridge._t_loggerPrx = IcePy.defineProxy('::asterisk::bridge::logger', loggerPrx)

    _M_asterisk.bridge._t_logger = IcePy.defineClass('::asterisk::bridge::logger', logger, (), True, None, (), ())
    logger.ice_type = _M_asterisk.bridge._t_logger

    logger._op_prompt = IcePy.Operation('prompt', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_short), ((), IcePy._t_string), ((), IcePy._t_int), ((), IcePy._t_string), ((), IcePy._t_string)), (), None, ())

    _M_asterisk.bridge.logger = logger
    del logger

    _M_asterisk.bridge.loggerPrx = loggerPrx
    del loggerPrx

# End of module asterisk.bridge

__name__ = 'asterisk'

# End of module asterisk
